home *** CD-ROM | disk | FTP | other *** search
- Path: news.iacnet.com!Newsmaster
- From: Mark Thomas <mark_thomas@sandpoint.com>
- Newsgroups: comp.lang.c
- Subject: time/date algorithms
- Date: Thu, 04 Jan 1996 17:52:15 -0500
- Organization: SandPoint Company
- Message-ID: <30EC5A1F.3DE0@sandpoint.com>
- NNTP-Posting-Host: clipper.sandpoint.ziff.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b3 (WinNT; I)
-
- A co-worker of mine is looking for an algorithm what
- works something like this: given a week number 1-52
- (or 0-51 I suppose) and a year, the month and day of the
- sunday in that week is output. He swears he's seen
- it in a book, and doesn't want to have to re-create it.
-
- Anyone have this [bizarre] algorithm laying around somewhere,
- or know where it can be found? Please reply by email
- if you do -- thanks alot.
-
- Mark
-